import styled from "styled-components";
import detele_png from "@/assets/icons/icon-close.png";

export const FormContainer = styled.div`
  display: flex;
  margin-top: 12px;
  margin-bottom: 8px;
`;
export const BottomContainer = styled.div`
  display: flex;
  margin-top: 12px;
`;
export const LeftContainer = styled.div`
  width: 245px;
`;
export const RightContainer = styled.div`
  width: calc(100% - 250px );
  border: 1px solid #ced7e8;
  /* border-bottom:none; */
  border-radius: 2px;
  margin-left: 5px;
  height: 408px;
`;
export const RedContainer = styled.div`
  display: flex;
  justify-content: space-between;
  /* background: #feede0; */
  background: ${(props)=>(props.disabled?"#F5F6F9":"#FEEDE0")};
  border-radius: 2px;
  padding-right: 8px;
  height: 36px;
  align-items: center;

  > div {
    display: flex;
    align-items: center;
    > span {
      width: 2px;
      height: 30px;
      background: ${(props)=>(props.disabled?"#3457C4":"#FF5A26")};
      border-radius: 2px;
      display: inline-block;
      margin-right: 14px;
    }
    > p {
      font-weight: 600;
      font-size: 13px;
      color: #35425e;
      line-height: 28px;
      margin: 0;
    }
  }
`;
export const DateContainer = styled.div`
  margin: 4px 0;
`;
export const ListContainer = styled.div``;
export const List = styled.div`
  box-sizing: border-box;
  background: #f5f6f9;
  border: 1px solid #ced7e8;
  border-radius: 2px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 4px;
  .ant-select-single.ant-select-show-arrow .ant-select-selection-item,
  .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
    padding-right: 14px;
  }

  .ant-select:hover,
  .ant-select-selector:hover {
    background: transparent;
  }

  .ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border: none;
    background: transparent;
  }
`;
export const Divider = styled.div`
  width: 1px;
  height: 18px;
  background: #ced7e8;
  border-radius: 2px;
  margin-right: 8px;
`;
export const ColorContainer = styled.div`
  width: 8px;
  height: 8px;
  background: ${(props)=>props?.color||'#3457c4;'};
  margin-right: 8px;
`;
export const TextContainer = styled.div`
  font-weight: 600;
  font-size: 13px;
  color: #35425e;
  line-height: 28px;
`;
export const ButtonContainer = styled.div`
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
`;
export const DeleteBtnContainer = styled.div`
  padding: 4px 12px 4px 4px;
  cursor: pointer;
`;
export const DeleteBtn = styled.div`
  width: 9px;
  height: 9px;
  background: url(${detele_png}) no-repeat;
  background-size: 9px 9px;
`;